package cn.walls1717.wallsmall.order.pojo.to;

import cn.walls1717.wallsmall.order.entity.OrderEntity;
import cn.walls1717.wallsmall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单创建
 *
 * @author walls1717
 * @since 2022/11/20 13:56
 **/
@Data
public class OrderCreateTO {

    /** 订单信息 */
    private OrderEntity order;
    /** 订单项 */
    private List<OrderItemEntity> items;
    /** 订单计算应付价格 */
    private BigDecimal payPrice;
    /** 运费 */
    private BigDecimal fare;
}
